
    <h2>Banners - Cadastro</h2>
    <form action="{$smarty.const.BASE_URL_ADM}banners/cadastrodb/" method="post" name="frm_cadastro" id="frm_cadastro" enctype="multipart/form-data">
    <input type="hidden" name="banTip" id="banTip" value="RAN" />
	<table border="0" align="center" cellpadding="4" cellspacing="1" class="tb_cadastro">
	<tfoot>
		<tr>
			<td colspan="2">
				<input type="submit" name="submit" value="Salvar" style="float:left;" />
				<input type="button" name="voltar" value="Voltar" style="float:right;" onclick="javascript:history.back();" />
			</td>
		</tr>
	</tfoot>

	<tbody>
		<tr>
			<td class="label"><label for="marCod">Marca:</label></td>
			<td class="value" colspan="3">
                <select name="marCod" id="marCod">
    			     <option value="">-- Selecione --</option>
                     {foreach from=$marcas item=marca}
                        <option value="{$marca.marCod}">{$marca.marNom}</option>
                     {/foreach}
                </select>
            </td>
		</tr>
		<tr>
			<td class="label"><label for="banLoc">Local:</label></td>
      		<td class="value">
                <select name="banLoc" id="banLoc">
                    <option value="">-- Selecione --</option>
                    {foreach from=$posicoes item=posicao}
                        <option value="{$posicao.codPos}">{$posicao.desPos}</option>
                    {/foreach}
		      	</select>
            </td>
		</tr>
		<tr>
			<td class="label"><label for="banTar">Janela:</label></td>
			<td class="value"><select name="banTar" id="banTar">
			<option value="">-- Selecione --</option>
			<option value="_self">Abrir na mesma janela</option>
			<option value="_blank">Abrir em nova janela</option>
			</select></td>
		</tr>
		<tr>
			<td class="label"><label for="banTit">Nome:</label></td>
			<td class="value"><input name="banTit" type="text" id="banTit" size="80" value="" /></td>
		</tr>
		<tr>
			<td class="label"><label for="banUrl">URL:</label></td>
			<td class="value"><input name="banUrl" type="text" id="banUrl" size="80" value="" /></td>
		</tr>
		<tr>
			<td class="label"><label for="banMail">E-mail:</label></td>
			<td class="value"><input name="banMail" type="text" id="banMail" size="80" value="" /></td>
		</tr>
		<tr>
			<td class="label"><label for="banArq">Arquivo:</label></td>
			<td class="value"><input type="file" name="banArq" id="banArq" size="35" />

			</td>
		</tr>
		<tr>
			<td class="label"><label for="banSta">Status:</label></td>
			<td class="value">
				<select name="banSta" id="banSta">
                    {foreach from=$status key=k item=v}
                        <option value="{$k}">{$v}</option>
                    {/foreach}
				</select>
			</td>
		</tr>
		</tbody>
		</table>
		</form>